package com.mikey.single;

/**
 * @author :Mikey
 * @description :饿汉式(可能会浪费空间)
 * @create :2022-09-27 14:26:00
 */
public class Hungry {
    private Hungry(){

    }
    private final  static  Hungry HUNGRY=new Hungry();
    private static Hungry getInstance(){
        return HUNGRY;
    }
}
